package com.zmzncs.lmtc.module.order.dao;

import com.zmzncs.lmtc.module.order.pojo.order_card.OrderCard;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zmzncs.lmtc.module.order.pojo.order_card.OrderCardDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 任建波
 * @since 2020-10-19
 */
@Repository
public interface OrderCardDao extends BaseMapper<OrderCard> {

    /**根据交易记录查询*/
    List<OrderCardDTO> getByTradeRecordId(Long tradeRecordId);

}
